package com.example.goandpaytthebill.Bean;

import java.util.List;

public class BannerListBean {


    /**
     * code : 0
     * msg : 轮播图列表
     * time : 1611628246
     * data : [{"id":8,"pic":"/uploads/20201231/a986ebf89d6ff74303ac38d7b5864619.png","orderby":8,"createtime":1609399354,"status":1,"url":"","utime":0},{"id":7,"pic":"/uploads/20201201/89714c37a455b2145defeaf998149520.png","orderby":3,"createtime":1606109734,"status":1,"url":"","utime":0},{"id":6,"pic":"/uploads/20201201/05ddc4d598660d87c7b1b0c3ea47c99b.jpg","orderby":2,"createtime":1606109691,"status":1,"url":"","utime":0}]
     */

    private int code;
    private String msg;
    private String time;
    private List<DataBean> data;

    public BannerListBean(int code, List<DataBean> data, String msg, String time) {
        this.code=code;
        this.data=data;
        this.msg=msg;
        this.time=time;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean  {
        /**
         * id : 8
         * pic : /uploads/20201231/a986ebf89d6ff74303ac38d7b5864619.png
         * orderby : 8
         * createtime : 1609399354
         * status : 1
         * url :
         * utime : 0
         */

        private int id;
        private String pic;
        private int orderby;
        private int createtime;
        private int status;
        private String url;
        private int utime;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public int getOrderby() {
            return orderby;
        }

        public void setOrderby(int orderby) {
            this.orderby = orderby;
        }

        public int getCreatetime() {
            return createtime;
        }

        public void setCreatetime(int createtime) {
            this.createtime = createtime;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getUtime() {
            return utime;
        }

        public void setUtime(int utime) {
            this.utime = utime;
        }
    }
}
